package com.rightin.reader.hf.rfidenum;

import java.util.HashMap;

/* loaded from: hf_reader.jar:com/rightin/reader/hf/rfidenum/EnumRfDoorCommand.class */
public enum EnumRfDoorCommand {
    GetSystemInfo(0),
    GetParameters(249),
    SetParameters(250),
    ResetFlowCount(248),
    UidUpload(1),
    FlowUpload(247),
    FinishUpload(3),
    Inventory(1),
    InventoryMultipleBlocks(80);
    
    private int intValue;
    private static HashMap<Integer, EnumRfDoorCommand> mappings;

    private static synchronized HashMap<Integer, EnumRfDoorCommand> getMappings() {
        if (mappings == null) {
            mappings = new HashMap<>();
        }
        return mappings;
    }

    EnumRfDoorCommand(int value) {
        this.intValue = value;
        getMappings().put(Integer.valueOf(value), this);
    }

    public int getValue() {
        return this.intValue;
    }

    public static EnumRfDoorCommand forValue(int value) {
        return getMappings().get(Integer.valueOf(value));
    }
}
